# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-sybil
pkgver=1.4.0
pkgrel=0
pkgdesc="Automated testing for the examples in your documentation"
url="https://github.com/cjw296/sybil"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools py3-sphinx py3-wheel py3-nose"
checkdepends="py3-pytest"
source="https://pypi.python.org/packages/source/s/sybil/sybil-$pkgver.tar.gz"
builddir="$srcdir/sybil-$pkgver"

build() {
	python3 setup.py build
}

check() {
	PYTHONPATH="$PWD/build/lib" python3 -m pytest
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="f385b4e67cc5a4b32c7563d98f36dab6e5320966563eb341395e9327c16f92a63863558bfa795b6531819fa6038234492d4d19c1d9286e6306039e8d4abec0b8  sybil-1.4.0.tar.gz"
